package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Admins对象", description="管理员表")
public class Admins implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    private String name;

    @ApiModelProperty(value = "unionid")
    private String unionid;

    @ApiModelProperty(value = "openid")
    private String openid;

    @ApiModelProperty(value = "微信头像")
    private String wechatHeadimg;

    @ApiModelProperty(value = "微信名")
    private String wechatName;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "email")
    private String email;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "头像")
    private String headimg;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "积分")
    private Integer score;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "状态，1为正常状态  0为禁用")
    private Integer status;

    @ApiModelProperty(value = "是否隐藏")
    private Boolean isHidden;

    @ApiModelProperty(value = "是否只读帐号")
    private Boolean isReadonly;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "最后活跃")
    private Date lastActiveAt;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
